Connect basic auth, error handling, logging, session, and file serving