HH-46051 fix bug in SimpleCookie