AuthorizeConnectionError should be raised, not returned.

Seems like maybe just a typo here.