Using the Active Directory API for password changes