Changed how authorities are fetched from the user objet.