Implement configuration file support.
safe_random: new function to get random bytes using HSM.
Add credential support.

Expose an interface to add credentials to the credential store. Also
adds INI configuration file parsing, since the authentication backend
outgrew plain argument parsing with these changes.