adding cookie capabilities, this fixed the "Invalid API" error message i...

...ssue