Your problem is the auth="basic". This is not a recognised authentication method for Odoo. Odoo's @http.route only accepts 'user', 'public' or 'none'. You can check the usage documentation on odoo/odoo/http.py:route() method.