Fix for "not valid" error on multisite.

Revised validate_api_key_with_server() with new code from @pippinsplugins.

Removed redundant api_key_notset_message()