Support ref.
Handle Authorisation errors.