refactored login_logout spec.
refactored login_logout spec.

tested:
1. using alias for find_elements
2. reduced hard-coded variables using factory data

Change-Id: I7c11f1def1ffbe292d62bef59d457d7da0f4f92b
Reviewed-on: https://gerrit.instructure.com/13078
Reviewed-by: Jake Sorce <c8d99c2f7cd5f432c163abcd422672b9f77550bb@instructure.com>
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>

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