Tidying up

Remove vestiges of the event log use in the service.
Add trivial unit tests to check that when a service principal is fed in,
appropriately shaped ACLs come out.