Reworked password change logic and add AD support
Merge branch 'fix/ldap-password-change'