fix proxy.js authentication