A connect module for authentication against a database.