HTTP Basic Authentication and Session Management With Golang's OAPI-Codegen

While working on my REST API game Webdrones I needed a way to authenticate users. Although OAPI-Codegen has examples on how to do this with JSON Web Tokens, I was led by additional research including this influential blog post to use HTTP Basic Authentication and cookie based sessions as