Fixed #78 -- cookie cleanup before login.