fix redirect loops in all types of login controllers
fix redirect loops in all types of login controllers

Change-Id: Ifc9f9b6db37db666bbf72eb27c6a2d3acfae3f2d
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/271556
Tested-by: Service Cloud Jenkins <9144042a601061f88f1e1d7a1753ea3e2972119d@instructure.com>
Reviewed-by: Charley Kline <05950d7e90ba5e3da323378368c22b3ffaaf6647@instructure.com>
QA-Review: Charley Kline <05950d7e90ba5e3da323378368c22b3ffaaf6647@instructure.com>
Product-Review: Charley Kline <05950d7e90ba5e3da323378368c22b3ffaaf6647@instructure.com>

instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,instructure/canvas-lms