fix session controller spec