Fixing expect(cookie, key);

It looks like `request` uses `tough-cookie` now which has an different API than the previous library used.  It is an optional dependency though, so I added it here so we use that API.  I don't think the default cookie API exposes any useful methods to get cookie data.