LoginFactory dealing with authentication failed response