bug fix: improve detection of 'cookiejar' argument

When passing clean LWPCookieJar() object, it is retyped to False, which resulted in creating new CookieJar(). Comparison to None is necessary.