Adds missing index, changes session store key.