Added rootScope.apply to the verifyAuth-follow-up.