Switch to REST API to write feeds, fixes authentication bug