Return correct errors and set loginInProgress to false

Fix for login errors