ensureConfig
Ensures configuration exists at path. If missing, creates a new config using defaultServerId and a generated secret.
Ensures configuration exists at path. If missing, creates a new config using defaultServerId and a generated secret.