Fix $timeout in LoginController