Use custom HttpConnector when authentication