The UserId tests were actually failing due to this change: #18636
The reason for that seems to be the weird tracking done for the UserId tests, causing the tracked data to be slightly different.
I'll add some comments in the code to make that a bit more clear what the issue was.
refs #18082