Add a rudimentary login system

This adds a barebones SQL interface to add and valid user credentials,
and the login page from the PHP implementation.