the login page works

The page at #/test accepts a username and password. If it find that username/password pair in the database it redirects to #/success and creates a cookie to identify the session.  If it isn't a valid username/password, it redirects to #/fail.