for the logout page to be created properly, you must have Cookies Toolkit installed. Is Cookies toolkit installed?
if not, install it, then open the logout page.
Go to Window -> Server Beahaviors.
On the server behaviors panel, click the plus button.
Select WA Coolies Toolkit -> Clear Session
Set the trigger to before page load, and set it to clear all.