Migrate security settings to registry.