Fix for calculating domain correctly from configured host
Merge pull request #1110 from ManishKataria/SSOEndpoint_BugFix

Fix for calculating domain correctly from configured host