Trouble with websocket and basic auth

I have been having some real trouble getting an internet client setup using websockets and basic auth. I have a reverse proxy (traefik) with basic auth setup in front of an urbackup docker container. I have confirmed that I can access the webui using an address of the form “https://username:password@urbackup.subdomain.domain.duckdns.org/”. The urbackup client is setup with an internet site address of “wss://username:password@urbackup.subdomain.domain.duckdns.org/socket”. The client however keeps getting a 401 unauthorized. From what I can tell from the traefik logs the request coming from the client has headers for the websocket upgrade but none for the basic auth. Any suggestions?