Unit tests for signup, index redirect to login
Comprehensive unit tests for signup/login/logout
Keep track of active user with their primary key

This makes looking up the current user more straightforward (.get vs
.filter_by(username=) and efficient.

We now pass the whole user object to the index template.