I am trying to use a modified version of the R code from Submit a form using POST with g-recaptcha-response argument to use 2captcha to log into a Web site as a registered user.