I have link for downloading model from the web access
here the example of the link:
how to add the security windows username and password as parameters to the url?
There is no option to add username and password to the AJAX URL.
Have a look at below post for more details
How to pass parameters (user/password) through url
Retrieving data ...