Added timeouts to the LoginController.