Return a proper error for authorization failures in GitHub.

Authorization failures in GitHub were appearing as standard
HostingService errors. We now check the error code and properly return
an AuthorizationError.

Reviewed at https://reviews.reviewboard.org/r/5686/