code: def rebuild_auth(self, prepared_request, response):
          
          u = urlparse(prepared_request.url)
          if u.netloc.endswith('archive.org'):
              return
          super(ArchiveSession, self).rebuild_auth(prepared_request, response)
docs: Never rebuild auth for archive.org URLs.