improved Rack session backward compatiblity support