Corrected Cookie Assigment to CURL