fix for GRAILS-10130 "Configuring spring beans via system properties stopped working in 2.2.2"