first unit test and integration test

A quick test that the homepage works and that the login succeeds in three cases (failure, unconfirmed, and success).
This problem exists in development though. We should discuss a better way to handle it, at least for dev.