redis_session: support new session logic