WF-1506 Fixed, Now getting realm from passing domain name.