fix call to registry_manager.GetCredential