fixes #13 Logout/invalid cookie does not redirect to homepage