Session CookieJar fix

Fix for #1324, make any subclass of `cookielib.CookieJar` work as `session.cookies`