Loginpage visibility bug.