cluster: Implement authority checks.