Fix config.secrets loading