add default_server and basic auth method