Revert change to sessions controller that made the tests fail