[SD-714] [SD-718] [SD-715]: Refactored ADAuth to a Class and handling the exception raised by LDAP