I'm not sure if it's problem of Adminer or environment, but the described behaviour works on PHP5 for me and doesn't work on PHP7. The main problem is, that on PHP 7 connect with wrong credentials (empty pass, wrong pass, ...) doesn't throw exception. I also report it on Dockette