Saving bearer token in a cookie.