Promise rejects handled in AuthenticationManager fixes #27