Fix another API compatibility issue with CookieJar. #326