Holders Bayern scored twice in the first half to beat Augsburg 3-1 in the Bavarian derby and reach the German Cup third round despite failing to hit top form and missing a penalty.