Pywikibot generates user-agent headers of the form:
script_name (wikipedia:en; User:SomeBotOrOther) Pywikibot/10.2.0 (g19732) requests/2.32.3 Python/3.11.2.final.0
We should recognize the user account and use it in the x-ua-contact header. This currently doesn't seem to be the case.