Just ran this script and ran into a similar issue that did. I used an actual key for wif variable. In addition to that the script does not return any private keys.
To make this process work better you will need to generate keys ahead of time using a service/tool such as Vessel and make sure to enter the "Generated Seed" in the wif field.
Since I entered an actual key in the wif field I was able to recover the passwords by getting a Private Owner Key via Paper Wallet Generator then I used the owner key to attempt to log in. At that point I was able to change the Key via steemit prompts. At first it stated that I could not use that key to access that page, but that I could access a more secure page.
RE: Instantaneous Steemit Account Creation Script