[Issue 4781] optimize bind behavior in back-ldap when idassert is in use