Fix unit tests for logout page