Fixed a difference in domain sid type when SID is provided by user.