Better error messages on login page, fix bug where invalid password did not show an error message.