code: private int computeCredsHashCode( Credentials c ) {
          if (c instanceof SimpleCredentials) {
              return computeSimpleCredsHashCode((SimpleCredentials)c);
          }
          return c.hashCode();
      }
docs: Returns Credentials instance hash code. Handles instances of SimpleCredentials in a special way.
  
  @param c the credentials
  @return the hash code