use ActiveSupport::SecureRandom when generating random tokens
use ActiveSupport::SecureRandom when generating random tokens

Change-Id: Ibc8f0e0d15c824ba32c249a8c4d0f706fc2e02b7
Reviewed-on: https://gerrit.instructure.com/4696
Reviewed-by: Brian Palmer <3cb4e1df5ec4da2c7c4af7c52cec8cf340a55a10@instructure.com>
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>

kyroskoh/canvas-lms,arrivu/jigsaw-lms,landonwilkins/canvas-lms,sfu/canvas-lms,rup/Tarrax,arrivu/jigsaw-lms,faraazkhan/canvas,leftplusrightllc/canvas-lms,snehakachroo1/LSI_replica,shidao-fm/canvas-lms,fronteerio/canvas-lms,wrdsb/canvas-lms,ShreniiNepal/shrenii_lmp,sdeleon28/canvas-lms,efrj/canvas-lms,snehakachroo1/LSI_replica,sdeleon28/canvas-lms,narigone/canvas,instructure/canvas-lms,narigone/canvas,ShreniiNepal/shrenii_lmp,kyroskoh/canvas-lms,arrivu/jigsaw-lms,jay3126/canvas-lms,Jyaasa/canvas-lms,ankithbti/canvas_lms,Jyaasa/canvas-lms,merichar/canvas-lms,sdeleon28/canvas-lms,skmezanul/canvas-lms,leftplusrightllc/canvas-lms,wrdsb/canvas-lms,Rvor/canvas-lms,antoniuslin/canvas-lms,shidao-fm/canvas-lms,em2/canvas-lms,parbros/red-innovadores-lms,Unow/ins,wye0220/shindig-canvas,icelab/canvas,dgynn/canvas-lms,narigone/canvas,nditech/red-innovadores-lms,SwinburneOnline/canvas-lms,snehakachroo1/LSI_replica,nditech/red-innovadores-lms,wye0220/shindig-canvas,sfu/canvas-lms,skmezanul/canvas-lms,utkarshx/canvas-lms,arrivu/hoodemo,Unow/ins,utkarshx/canvas-lms,leftplusrightllc/canvas-lms,juoni/canvas-lms,samuels410/greatlakes-lms,samuels410/greatlakes-lms,ottenhoff/canvas-lms,Rvor/canvas-lms,arrivu/arrivu-lms,icelab/canvas,djbender/canvas-lms,eCNAP/CANVAS,redconfetti/canvas-lms,greyhwndz/canvas-lms,HotChalk/canvas-lms,djbender/canvas-lms,roxolan/canvas-lms,tgroshon/canvas-lms,grahamb/canvas-lms,fronteerio/canvas-lms,whalejasmine/canvas-lms,leftplusrightllc/canvas-lms,wimemx/Canvas,sli7246/canvas_branch,fronteerio/canvas-lms,kyroskoh/canvas-lms,em2/canvas-lms,arrivu/arrivu-lms,merichar/canvas-lms,kyroskoh/canvas-lms,matematikk-mooc/canvas-lms,skmezanul/canvas-lms,efrj/canvas-lms,rup/Tarrax,ShreniiNepal/shrenii_lmp,rup/Tarrax,landonwilkins/canvas-lms,AndranikMarkosyan/lms,ottenhoff/canvas-lms,parbros/red-innovadores-lms,usmschuck/canvas,usmschuck/canvas,tgroshon/canvas-lms,tgroshon/canvas-lms,HotChalk/canvas-lms,arrivu/qibla-ecampus,nditech/red-innovadores-lms,SwinburneOnline/canvas-lms,whalejasmine/canvas-lms,loganrun/pincan,antoniuslin/canvas-lms,usmschuck/canvas,juoni/canvas-lms,eCNAP/CANVAS,Rvor/canvas-lms,greyhwndz/canvas-lms,va7map/canvas-lms,antoniuslin/canvas-lms,sdeleon28/canvas-lms,efrj/canvas-lms,samuels410/greatlakes-lms,Rvor/canvas-lms,sli7246/canvas_branch,arrivu/hiring-site,greyhwndz/canvas-lms,sfu/canvas-lms,wye0220/shindig-canvas,Jyaasa/canvas-lms,samuels410/greatlakes-lms,va7map/canvas-lms,matematikk-mooc/canvas-lms,jay3126/canvas-lms,gbleydon/canvas-lms,va7map/canvas-lms,dgynn/canvas-lms,djbender/canvas-lms,gbleydon/canvas-lms,ankithbti/canvas_lms,roxolan/canvas-lms,grahamb/canvas-lms,landonwilkins/canvas-lms,faraazkhan/canvas,arrivu/qibla-ecampus,eCNAP/CANVAS,ShreniiNepal/shrenii_lmp,instructure/canvas-lms,roxolan/canvas-lms,Unow/canvas-lms,sfu/canvas-lms,arrivu/hiring-site,Unow/ins,AndranikMarkosyan/lms,whalejasmine/canvas-lms,djbender/canvas-lms,dgynn/canvas-lms,loganrun/pincan,Unow/canvas-lms,skmezanul/canvas-lms,nditech/red-innovadores-lms,arrivu/qibla-ecampus,AndranikMarkosyan/lms,shidao-fm/canvas-lms,loganrun/pincan,efrj/canvas-lms,venturehive/canvas-lms,wrdsb/canvas-lms,redconfetti/canvas-lms,SwinburneOnline/canvas-lms,grahamb/canvas-lms,dgynn/canvas-lms,Unow/canvas-lms,venturehive/canvas-lms,faraazkhan/canvas,whalejasmine/canvas-lms,HotChalk/canvas-lms,eCNAP/CANVAS,sfu/canvas-lms,wimemx/Canvas,parbros/red-innovadores-lms,va7map/canvas-lms,Jyaasa/canvas-lms,shidao-fm/canvas-lms,redconfetti/canvas-lms,sfu/canvas-lms,juoni/canvas-lms,utkarshx/canvas-lms,arrivu/hoodemo,narigone/canvas,instructure/canvas-lms,landonwilkins/canvas-lms,HotChalk/canvas-lms,matematikk-mooc/canvas-lms,arrivu/arrivu-lms,usmschuck/canvas,antoniuslin/canvas-lms,grahamb/canvas-lms,ottenhoff/canvas-lms,merichar/canvas-lms,instructure/canvas-lms,venturehive/canvas-lms,SwinburneOnline/canvas-lms,icelab/canvas,juoni/canvas-lms,sfu/canvas-lms,gbleydon/canvas-lms,AndranikMarkosyan/lms,fronteerio/canvas-lms,venturehive/canvas-lms,greyhwndz/canvas-lms,arrivu/hiring-site,jay3126/canvas-lms,sli7246/canvas_branch,matematikk-mooc/canvas-lms,roxolan/canvas-lms,jay3126/canvas-lms,wrdsb/canvas-lms,tgroshon/canvas-lms,ankithbti/canvas_lms,em2/canvas-lms,instructure/canvas-lms,arrivu/hoodemo,grahamb/canvas-lms,instructure/canvas-lms,utkarshx/canvas-lms,redconfetti/canvas-lms,wimemx/Canvas,snehakachroo1/LSI_replica,instructure/canvas-lms