message -> error

The response doesn't have a 'message' attribute in the case of a 401 but an
'error' attribute.