login & logout: basic tests