Visual Code and Openhab 3.0

I think you missunderstood me above.

Should be http://MYUSER:MYPSWD@192.168.31.2:8080/rest/things

I used the config syntax to make cleare that the same values as configured in the extension should be used.
Sorry if this caused some confusion.