Fix cas redirection loop (refs #6124)