fix: redirection loop after cookie expires

2 jobs for development in 2 minutes and 51 seconds (queued for 1 second)