[feature] optional flag to disable curve authentication