Instance discovery and authority validation fixes.