CLC-4112 - Multiple calls to api/badges when loading pages

https://jira.ets.berkeley.edu/jira/browse/CLC-4112
Merge pull request #2919 from christianv/CLC-4112

CLC-4112 - Multiple calls to api/badges when loading pages