Workaround for WFLY-3345 so logout can work for 'distributable' applicat...

...ions