Minimal forward auth service for your home server

I host some services in my home network, some of them don't have authentication built into them and I didn't like any of the existing solutions for putting a login in front of them (either too bloated for single/double-digit usercount, using unethical technology during development, or just straight up bad)

It's pretty barebones but it works. (Funnily enough, if you use servicename.home.arpa then it doesn't work because you can't add a cookie to home.arpa, so you have to use servicename.servername.home.arpa)