Open
Description
I think it's loadUserSettings() in Load.php, but I am not yet certain. I know what happens is user id 0 gets passed to setLoginCookie and the user gets instantly logged out, and needs to wait awhile before they can login.
I'm still trying to decipher this to figure out what the problem actually is. It isn't easy to reproduce.