Revert changes to authorize.js - no crypto yet