[#1383] [#1381] Encode / Decode the cookie expire data the same on all jvms