Update sessions_controller and associated tests.