Update default.php

Wihtout this, unable to fetch any AD info.. also allows SSO.
Update metadata.php

Without this unable to access AD info. Also allows SSO.
Update settings.php
Merge pull request #204 from senorandy/master

Correctly identify AD account