Fix .each on string in auth-basic-ldap template