pass in agent config instead of a real agent, to prevent the agent being instantiated without a dimension manager, leading to all kinds of issues see https://github.com/opengeo/mapstory/issues/535 for details