[SD-714] [SD-718]: Disabling the ResetPassword endpoint if Authentication via AD is enabled