Enable token authentication for Spark/Idea/Comment creation/deletion

Replaces authentication with the "username" parameter with authentication by tokens.