UP-3689 auto-creation of login's refUrl when using CAS