Setting active profile in root context instead of servlet context.