Fix authorization.js