While the man page says it is Wget/version (like others pointed out already), it is currently actually:
at least on Ubuntu.
To inspect the actual user agent being sent, you can add the -d option to your wget call.
My personal view is that wget is not the right tool for the job, however I managed to force it to do this -
wget -S https://sb.scorecardresearch.com/internal-cs/default/beacon.js -q -O /dev/null
The key elements of this command are -S means show headers, -q means supress output from wget, and -O (capital O) means write to a file.
I would be inclined to ...
Looks like there's an API path that you can use
curl -u user:pwd http://bitbucket:7990/rest/api/1.0/projects/PROJCT_NAME/repos/REPO_NAME/raw/FOLDER/FILE.TXT
If nothing else, the API response will be something more usable than the HTML response.
API documentation at