setupHttpClient() now properly uses the configured private key