Fix issue: unable to redirect to CAS page