cURL Error: Maximum (20) redirects followed