s4-ldapclient: cope with logon failure retry in LDAP