A Haskell library for implementing basic authentication and authorization where the user list is located in a SQLite database.
A source distribution of the current up-to-date version can be found here.
A linux binary which *should* work can be downloaded here. The binary exposes a small CLI for managing users, usernames, passwords, and permissions in an already existing database.