[#80703] Checks better for userInfo.authorityId.