title: How to prevent browser to invoke basic auth popup and handle 401 error using Jquery?
body: <p>I need to send authorization request using basic auth. I have successfully implemented this using jquery. However when I get 401 error basic auth browser popup is opened and jquery ajax error callback is not called.</p>