I use KeePass to automate logging in to several office back-end servers that use only Basic Authentication.
KeePass has a feature that allows it to automatically add ID and PW but it requires a window or tab title to recognize which entry to pull.
At present Firefox does not alter the title of the window/tab, so it's either blank (if a new tab) or is still the title from whatever previous page that tab was pointed to.