mattdrayer/rebase-20140926: Repaired faulty keygen logic
Merge pull request #251 from edx-solutions/mattdrayer/rebase-20140926-utilrequestfix

mattdrayer/rebase-20140926: Repaired faulty keygen logic