CMS-4457 Implement REST method getPrincipalById.
Fixed Path pattern for unit test.