ticket #370 fix for larger charset space for session keys, also use the session store abstraction to be backend agnostic