I recently found out that piwik also uses a login token of the MD5 of the password[0]. So this mistake is still very prevalent.
If you want to provide a one-click automatic login to Piwik for your users, you can use the ‘logme’ mechanism, and pass their login & the md5 string of their password in the URL parameters:
https://stats.example.org/index.php?module=Login&action=logm...