Redirect on login
Fix spec httpBackend.flush order