Update ControllerTestCase so that logged in user can be changed more easily

## Update ControllerTestCase so that logged in user can be changed more easily

Currently this requires overriding getLoggedInUserEntity so that the returned value can be changed at runtime, re-calling setUpMockSecurityContext, and re-injecting the mock into the controller.