Added localhost check in gw_find_mysql_user_password_sha()

Added localhost check in gw_find_mysql_user_password_sha1().
The wilcard check is skipped if user@localhost failed