Hmm, I see what you mean. There was a recent change from “/users/” to “/u/” that may have something to do with it.
If you open your browsers dev tools and request a users badges page you should be able to see the URL that Discourse is using to get the page data. Is that different?