Implemented a crude form of authentication for publishing packages.

Now only users who are listed in the publishers.json file can publish
packages.