Issue #15893: format user id consistently with other log messages