MDL-32492 auth/cas: respect https login links