BUG Reverted auth to use basic auth. Much simpler, more robust, and provides better security.