Fixed the problem with the login form not being redisplayed