Fix SSO with new window - refs BT#8692
Merge pull request #129 from AngelFQC/8692

Fix SSO with new window - refs BT#8692