finish functional test for login/logout