Verifying agent registration with the management server