Add user tests.

This tests basic login, logout, and registration functionality.