fix: redirection loop after cookie expires

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