Fixes for createcourse install

This actually enables the api, creates the token, etc.