Version 1 of DB auth. Only works with user/login.php for now.