Login: distinguish error from wrong password