Add tests for user login and logout.