Update to use the new Coursera login API
Use JsonTypeProvider