I've tried installing tvheadend_4.3-2340gc8435a098jammy_amd64.deb on an old laptop running Linux Mint:
lsb_release -a
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 21.3
Release: 21.3
Codename: virginia
The installation worked as expected and after running through the setup wizard my admin and user logons worked. There were a few 401 and 403 errors but nothing I could pin down.
However after purging and reinstalling tvheadend I was stuck in a 403 loop; nothing worked. Looking in the /var/lib/tvheadend directory gave a clue. Normally the directory contains something like:
/var/lib/tvheadend# ls -l
total 40
drwx------ 2 hts video 4096 Jun 23 14:08 accesscontrol
drwx------ 2 hts video 4096 Jun 23 14:03 bouquet
drwx------ 2 hts video 4096 Jun 23 14:03 caclient
drwx------ 2 hts video 4096 Jun 23 14:03 codec
-rw------- 1 hts video 1756 Jun 23 14:09 config
drwx------ 3 hts video 4096 Jun 23 14:03 dvr
drwx------ 2 hts video 4096 Jun 23 14:08 passwd
drwx------ 2 hts video 4096 Jun 23 14:03 profile
drwxr-xr-x 2 hts hts 4096 Jun 23 14:03 recordings
-rw------- 1 hts hts 41 Jun 23 14:03 superuser
However after reinstallation I had
/var/lib/tvheadend# ls -al
total 20
drwxr-xr-x 4 root root 4096 Jun 23 15:15 .
drwxr-xr-x 72 root root 4096 Jun 23 15:15 ..
drwx------ 3 hts video 4096 Jun 23 15:15 .config
drwxr-xr-x 2 hts hts 4096 Jun 23 15:15 recordings
-rw------- 1 hts hts 41 Jun 23 15:15 superuser
Now apt purge deletes all files in tvheadend's home directory but it does not delete the tvheadend user, and it seems that the installation process is different if the hts user already exists. This could explain why the 403 behaviour has been hard to pin down.