fixes TypeError: tostring() got an unexpected keyword argument 'method'
Merge pull request #405 from MaddinXx/vnc-pwd-500

Fixes "TypeError: tostring() got an unexpected keyword argument 'method'"