Fix redirect to last page when login guard breaks flow

5 jobs for !2237 with 1942-after-login-redirect-to-oauth-app-auth-is-not-working in 7 minutes and 19 seconds (queued for 2 seconds)
latest merge request