Hi,
I think you have marked the root directory as protected in your web server, which is resulting into this prompt to login. If you remove it then page with the text boxes for auto authenticate will start working. One more thing was the script you had working on a Linux based server and now you have moved it to Windows server?
Cheers,