Another fix for using the credentials file.