Added ability to authenticate by authenticity token, needed for compatibility with hubot.