Reverted PrincipalsUtil in the authentication init and using PrincipalsUtil when creating messages