Wrote token-generation code to handle state-less logins.
Using cabal.
Shorter code, partly by use of classy-prelude.
First attempt and handling HTTP Basic Authentication.