Display a real error

instead of "Unknown error" when login fails.