Fix remove cookie for each login and logout