Update main.js

fix authentication error. (Fixed on the live server)