Fixed minor bug when entering wrong user name and password