Make cloning private repos work.

Fix some bugs. Also add conf.php to .gitignore