Earlier quoted context omitted.
That's not the half of it - if you knew what that cookie contained…
Like... login and cleartext password, to lookup your profile on each request?
Came across this last year... have seen variations of it over the last 15+ years, but saw it in 'new' code last summer. :/