Specify SERVER_NAME to allow cross-subdomain cookies.
Clear session if the API responded with a 401.
Enable gzip compression on static files for big speedup.
Allow for caching of static files.
Improve mobile display.