(MembershipsLibrary) Use memberships library for memberships search

This is dependent on the following branch to be merged first. The actual
fix here is one line.