check_mysql: ignore authentication failure

Just turning attached patch of github issue #1020 into a push request.