Fix a bug where specifying non-default settingsClasses in DefaultGraphDatabaseDependencies had no effect.