invalidate java HttpSession, and re-create a ruby session, to resolve infinite loop