Use base64 to encode viewstate.