Adding and testing authentication in Yesod.

Read more at the source