Fix. Store auth_key in cookie