Fixes to cURL and OpenID