Odoo v9 auth methods usually violate both old and new api; they just only work in old api, so I had to adapt some tests to use it instead.
Normal backport outside of that.
Include HACK for https://github.com/odoo/odoo/pull/24833, which explains the false positive problem we were having here: an addon being importable doesn't mean it is installed.