Got the basics of cookie auth working.