[#61412998] Fix bugs in SessionsController#destroy