Fixed tests/stats after adding ADDON_WEBAPP_PRIVILEGED