coursera: Fix PEP-8 compliancy.
coursera: Remove function that is already in credentials module.

The body of the functions are slightly different and I would expect users
that used a custom-placed netrc file to have things break, but if nobody
complains, then we will leave it as is.