s3: rpcclient: Prevent null ptr access by returning error if no creds available