Authorities and User entity, repo, and service implemented along with
corresponding tests.