Emre Can scored a stoppage-time penalty to spare Dortmund's blushes after they had let a 2-0 lead slip at home to St. Pauli.