Fix URLEncoding bug with passwords. Always write a new cookie file, even if one already exists.