Also expose username for the /discover endpoint

Fixes #6328
Merge pull request #6360 from jvanbaarsen/fix-6328-expose-username

Also expose username for the /discover endpoint