Fixes #4495: optimize LDAP requests for homepage infos