fixing mismatch on domain versus realm

configuration page had mismatch on domain and realm which resulted in
wrong config which required hand edits.