Repair compilation of the invitation autotests. They are broken, but at least they build now (when enabled)