To reproduce Launch the dev server and visit the app Click the login button Notice you werent logged in. Notice the cookie has been set in browser developer tools Click the login button again Now you are logged in