@Deprecated
  public void removeCustomAuth(final @NotNull String key) {
    synchronized (myLock) {
      LOG.debug("custom auth removed: " + key);
      @SuppressWarnings("resource")
      var registration = myCustomAuthRegistrations.remove(key);
      if (registration != null) registration.finish();
    }
  }
@Deprecated
  public void removeCustomAuth(final @NotNull String key)