DEV: add test cases that prove that sso can override username from "bob1" to "bob" (PR #14555)

The problem was reported long time ago. It’s hard to say if this bag didn’t exist or was fixed later, but test cases in this PR prove that this works now.


This pull request has been mentioned on Discourse Meta. There might be relevant details there:

Good catch