Adapt to Augmentum IES ldap.

Don't know who made this change, I'm just committing it here. There was
some other chagnes, lost them accidently, sorry.