Basic authentication for the Apache HTTP Server using a PostgreSQL database