QGIS allows us to use any HTML in the map tip which can be used to show a corresponding image for a hovered feature in the map.

Example of such a code in the map tip definition:

```<img src="http://imageserver.com/images/features/[% "id" %]" width="600"></img>```

However, the server resource may require authentication. **How to satisfy the server authentication requirement from the QGIS? How to supply the required credentials to be used in the image request?**

Our server uses the basic authentication.

What I have tried:
1. Just let show the map tip in hope that QGIS prompts a login dialog. It did not happen.

2. I provided the authentication credentials in the "Options / Authentication" for the same base URL but it does not work. The QGIS seems to not respect the options.
[![enter image description here][1]][1]


I am still not getting the picture but just an error image placeholder:
[![enter image description here][2]][2]


  [1]: https://i.sstatic.net/O9Hpw.png
  [2]: https://i.sstatic.net/OE9OQ.png

I can clearly see from the server logs the requests are not authenticated and resulting in the 401 HTTP error.