Hello!
It looks like the PR was not merged for 4.0.2.
In the mean time you can look at this: Fix unable to populate User in Users-Permissions by iicdii · Pull Request #11960 · strapi/strapi · GitHub
you can try to extend the user controller and manually merge the code changes.
I am not sure if it works but let me know!