issue #20038: caches can bind to empty collections

Also: XT.logout() now does what XT.session.logout() and window.relocate() both used to do.