Fix authentication

Coursera changed the authentication url to
https://accounts.coursera.org/api/v1/login and replaced the login and
session cookie with a CAUTH cookie.
Merge pull request #181 from jonasdt/auth

Merge changes from Jonas to adapt to changes in Coursera's login scheme.

Kudos to Jonas, as usual.