In my case(5.2.2) just replace in config.inc.php
cookie
to config
and add 2 lines like bellow:
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root'; //add this line
$cfg['Servers'][$i]['password'] = 'root'; //add this line