Fixed redis session store bug.