Ensure digest_method is always set to get graceful failure.