temporary fix for autologin issues