On failed log in corresponding error message is shown depending on error status code.