http: flexibilize GenericHttpCredentials