fixed credential loading. It should now load credentials from parameters not yaml file, if exists