MDL-9824 do not use sesskey check when user already logged out in logout.php; merged from MOODLE_18_STABLE
MDL-9824 do not use sesskey check when user already logged out in logout.php; merged from MOODLE_18_STABLE

dilawar/moodle