Fixing PHP Warnings in Registration page

* Fix API Key generation not using SALT when creating hash
 * This should not affect existing API keys since hashes are compared
* Fix PHP Warning for RECAPTCHA if disabled

Fixes #328
Merge pull request #333 from TheSerapher/issue-328

Fixing PHP Warnings in Registration page