Prevent autologin during tests