Removed param 'cookie' on casAuthenticator (refs #4064)

Use Session::PARAMNAME if it exists, or fallback to 'freedom_auth'.
Corrected PHP notices (refs #4062)