"""Handles login/logout pages and dealing with user cookies. Includes a WSGI application that serves the login page and handles login and. logout HTTP .