Towards production quality

This is work in progress. It focuses on the security configuration and some minor issues which are preventing HTCondor from properly working