How can I use Selenium with Java with a custom Firefox Profile?
You cannot pass HTML authorization window with Selenium. You have to use Auto IT for this purpose. AutoIT gives you the platform to manage the windows based components. You can invoke AUTO IT scripts from Selenium WebDriver