Fix cap check that prevented users from generating their own API kys (if enabled). Closes #1672
Merge branch 'master' of github.com:easydigitaldownloads/Easy-Digital-Downloads