In case current_user() reports a wildcard identification for the user's host (e.g. user@%) the percent sign was not escaped causing sprintf to complain as there were too few arguments in this case. fixes #7853