s4:scripting/python: add support for utf-8 passwords from the command line