ensure cookies are disabled for API calls. Issue 21