Bayern Munich win with a lone goal