docs: @Override
      public final void process(final HttpRequest request, final HttpContext context) throws HttpException, IOException {
  
          AuthState authState = (AuthState) context.getAttribute(HttpClientContext.TARGET_AUTH_STATE);
          if (authState.getAuthScheme() == null) {
  
              HttpHost targetHost = (HttpHost) context.getAttribute(HttpCoreContext.HTTP_TARGET_HOST);
              AuthCache authCache = new BasicAuthCache();
              authCache.put(targetHost, new BasicScheme());
              context.setAttribute(HttpClientContext.AUTH_CACHE, authCache);
          }
      }