Fixes issue with login and mru cookie.