tests for login and logout pass