Fixed crash on login failure of only one endpoint.