FIX: Do not perform grants if badges are disabled
Merge pull request #2740 from riking/badges_disabled

FIX: Do not perform grants if badges are disabled