Using Brave Browser when I look for the cookie in the request header, the "Cookie" field starts with cf_clearance=*****;csrftoken=***.... Using this gives Bad csrf token format.
I'm able to get it to work by stripping the cf_clearance=***; from the beginning so it starts with csrfotken=***; (see my reply below for the real solution)

Using Brave Browser when I look for the cookie in the request header, the "Cookie" field starts with
cf_clearance=*****;csrftoken=***.... Using this givesBad csrf token format.I'm able to get it to work by stripping the(see my reply below for the real solution)cf_clearance=***;from the beginning so it starts withcsrfotken=***;