code: def challenge(self):
          
          response = super(ConfigBasicAuth, self).challenge()
          raise with_headers(Unauthorized(), response.headers)
docs: Override challenge to raise an exception that will trigger regular error handling.