Some basic tests for login handling.