Redirect if the user is already logged in

The login page will now redirect if you're already logged in.

Closes #576.

Closes #417.