Align the Python and EJS ldap tests.