HTTP Basic Auth not cached when using GM_xmlhttpRequest

Ad #1945
The suggestion (for example).
__It is necessary to test all options!__

The user script:
https://gist.github.com/janekptacijarabaci/495f56ac22bdf25cdc40