Load the configuration properly and use this for the API

Based on troubleshooting in conjunction with @lziest, this change causes the API to actually use the signing profiles in the API. If a configuration file is specified and it fails to load, exit with an error.