Also expose username for the /discover endpoint

Fixes #6328