Fix getGroupMembershipForDN to use the specified opts.attributes.