fix some warnings.
Make MongoServerInstance.RunCommandAs private again and refactor ServerParameterDependency to not call that method.