Added several unit tests for the AuthCtrl
Added missing $rootScope.$apply
Start adding AuthCtrl register tests