CLOUDSTACK-6971: createAutoScaleVmProfile failed with NPE due to lack of bean
    injection.

(cherry picked from commit 31e250a9d2adbf9ee59da66073497e38c02ded86)