changed behavior of login credential for mobile

Changed behavior for user in mobile mode trying to enter credential, but
not going back to enter mode when submitting a wrong credential.