Corrected cookie authentication docs example to match changes in js-client.
Merge pull request #321 from WP-API/cookie-docs-fix

json_register_scripts - wpApiOptions.nonce is now WP_API_Settings.nonce