Update agent registration for new authentication