#3704 logout in war file context