David,
I don't remember where I found it, but you can create a Windchill logout button in a browser in this way.
Add a link with below address.
javascript:window.location.href=window.location.href.replace(/:\/\//,"://dummy@");window.location.reload();