Fix Cookie Max-Age to Expires relationship
Support session.expires config value