unused and broken for some time (wrong table name)
Make `login_ensure_loggedin()` smart by default, always returning you to where you were.
It's easy to pass `"/"` if you want it to bounce logged out users to the root, plus less fragile for changing URLs.