Fill survey from email URL with code works with CAS enbled -ref #6875