session persistency bug fix.