Fixed distinguishedName being now returned as an array

In upgrading Ruby to 2.1, the LDAP gem changed the return value of "distinguishedName" from a string to an array. 

This fixes the LDAP authenticator to correctly embed the primary group.