Added (currently untested) install script support for CAS authentication.
Fixed admin config generation php.