Principal::getManyByType now uses same mechanism as other gets functions

When the internals of the Principal were changed to add getByToken, all the other get functions were updated to use new lookup mechanisms except for getManyByType. This now makes it conform to the others.