Testing the new alert.authenticateUsing functionality of Selenium Webdriver 2.48.1
Alernative - Use a browser autoauth plugin that will handle the Basic/NTLM autentication or Robot. See also http://stackoverflow.com/questions/27878208/webdriver-http-authentication-dialog, http://stackoverflow.com/questions/6509278/authentication-test-servers