Use NameToSid function instead of IsUserTheAdministrator

AccessControl::IsUserTheAdministrator is removed from AccessControl
plugin at v1.0.5.0.