when the route is /login/, sets a short timeout and then automagically
calls $scope.login