fix session error on OpenShift