MySQL login scanner unhandled exception

Inserted into the code as described by the Redmine issue 7021
https://dev.metasploit.com/redmine/issues/7021