The extension includes the mySQLi and the old mySQL versions of login. It looks like you applied the older one. Make sure you go to webassist->MySQLi->Authentication
Then it will include the correct code.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.