code: private String getHarAuth(URI underLyingUri) {
      String auth = underLyingUri.getScheme() + "-";
      if (underLyingUri.getHost() != null) {
        auth += underLyingUri.getHost() + ":";
        if (underLyingUri.getPort() != -1) {
          auth +=  underLyingUri.getPort();
        }
      }
      else {
        auth += ":";
      }
      return auth;
    }
docs: Create a har specific auth
  har-underlyingfs:port
  @param underLyingURI the uri of underlying
  filesystem
  @return har specific auth