Add CURLOPT_FOLLOWLOCATION to follow the redirects when using the CURL httpClient