Are you able to replicated this and provide login credentials with a test user with this issue so I can take a look? I can't see any reason in the code for it to be doing this outside of those parameters unless it's a mis-cache caused by caching on your server (e.g. cloudflare mis-cache). I've not been able to replicate this issue locally in my tests thus far so I'm not sure what else to suggest.