__init__: verify credentials when storage_type == s3