Allow the user to not enter a course ID when `-l` is supplied.
Wrap long lines.
Add docstring for the whole program.

It still needs more information, but we can fill in those later.
Rename "constant" `LOGIN_API` to `LOGIN_URL`.

The former is not really an API, but simply an URL.
Add rudiments of unittests.