Implemented CookieJar

The API will now handle cookies between requests without requiring
the token to be manually passed.