Added a check for $cas_configured

This will prevent calling phpCAS::client() more than once,
which was the case with the wp-cas plugin also calling it.