Revert "Replace SHA-1 with SHA-256 for cookie authentication (#4094)"

This reverts commit daff65d8c8772c637eb60365d6e672543163a740.
3 files changed