Remove duplicate logic in SessionCookieConfigImpl
Add concept of a SessionConfigWrapper to support JVM route