Missing urldecode, so random characters in the password got totally mangled, causing the Access denied error that eventually caused no version string to be returned.