Remove the cookie auth
Revert "Remove the cookie auth"

This reverts commit ff20d9b91c86ce85fe892e29f020495fc3db7625.