Update authorization.js

Fixed issue where UserRole schema is not available.