Fix ServeMux creation, Add test for logout