Making tests for login and logout pass