only check ldap_errno if an ldap_* function actually fails
fix wizard errors
reset search paging right after the search, not before some of the possible next search operations
cookie contains binary characters, don't log it
  (avoids json_encode(): Invalid UTF-8 sequence in argument errors)
"reset" ldap pagedSearch control by setting it to a high value
call nextEntry via invokeLDAPMethod
"reset" ldap pagedSearch control by setting it to a high value