Wire login handler

Fix login redirects, tests

Render login and implicit forms as html

Redirect on successful login

Redirect auth needed to login flow

Update session with user info on successful login
Merge pull request #1 from liggitt/oauth

Wire up login handler, fix redirects and login tests