Remove BasicAuthentication or sometimes when ajax request occur the browser will popup a basic auth dialog for credential.