Hi,
how about fall back to cookie or http auth if config auth fails?
would make it more easy to run phpMyAdmin out of the box (at least for localhost)
but only if config is set to root without password
if config_auth_fail, user == 'root', pw == '' than switch to cookie auth and display message about it