functional base url was not initialized on all code branches.

follow up to: https://github.com/grails/grails-core/pull/451, fixes the issue reported by jdbeutel.