Handle login form submission.
Authenticate the username and password against the crowd authentication source.
Authenticate the username and password against the crowd authentication source. This can be disabled for testing by setting auth.debug.mode in application.conf
Email address associated with the user or None if login fails
Login page.
Logout and clean the session.
Created by yanzhao3 on 3/16/17.