Changes to support SSO when running in Fuse

https://issues.jboss.org/browse/SRAMP-379