use basic authorization instead of oauth to publish to gist (thanks @hadley)