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.