Cleanup of ldap assignment backend

Some minor changes were made.

Change-Id: I1c70f3b3cfd01d79ace3869985841c29b42357e8
Merge "Cleanup of ldap assignment backend"