Handle undefined sails.config.globals by using defaults.