fix error messages shown during logout AGPUSH-761

https://issues.jboss.org/browse/AGPUSH-761