[#44969789] Instance Accounts clear the invalid credentials flag when you reset their credentials.
Remove legacy_migrate code