Fixed db_getToken always returning nil
Authorize and embed page should now work properly