Be consistent about curlopt, also use cookies.