Fixed the login network communication.