github/hub — pull request #529 by jingweno (2014-03-28 00:19:59+00:00)
Title: Propagate authenticate error to the caller

This'll help us reformat the error message at the caller level, e.g., Error creating repository: Unauthorized (HTTP 401).
`features/authentication.feature:85` is passing with these changes.