Beer maker agrees to nearly $1 million penalty for selling unregistered brands in New York