Fix logout in SSO  - refs BT#8194