Ignore more LDAP error codes and check by error code instead of exception message.