Proper authentication for both plugins and tutors through a single connect and disconnect route.