made sessionLogin work too on openshift