Fix #9168 Initialize NullCookieJar with all options needed for KeyGenerator
Merge pull request #9196 from AndreyChernyh/fix-cookies-with-null-session

Fix #9168 Initialize NullCookieJar with all options needed for KeyGenerator