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
We don't need a CHANGELOG entry for an issue of something that was not released yet
Reverting e170014113 (Change behaviour with empty hash in where clause)