The Wiki instructions appear to not be correct, the expand-template command needs to be
expand-template /etc/phpMyAdmin/config.inc.php
After doing that, phpmyadmin started working fine for me. Before that, I would be repeatedly asked to log in, and even with the correct username and password, I couldn't get in.