Proper way to authenticate with PublicApi specified in docs

Also fixed broken link to authenticate.md