fix cloudtrail and tests to use erlcloud_httpc