Show ldap_department_name in departments when necessary. Also reads ldap and legacy xml files just once.