GitLab should not create 7 day session expiry for unauthenticated users redirecting from GitLab Pages to sign in
In https://gitlab.com/gitlab-com/gl-infra/production/-/issues/7126 we were creating too many session for unauthenticated users that can't load a specific file in GitLab Pages . Since https://gitlab.com/gitlab-org/gitlab/-/issues/340967 we have tried to ensure unauthenticated users are only given a 2hr Redis session but this doesn't cover all cases and specifically doesn't cover the case when authenticate_user!
causes the redirect.