fixed issue when one of the configured credentials throws an exception