Simplify loading of credentials