Fix permissions on logos
Improve LDAP support