Autoplugin confgiurations must be injected first into project.

Fixes #1247