Fixed Issue #28: cookie is not emptied after logout