Reset global variables

Before we download a class, we reset the global variables. Otherwise
when you download multiple classes, we always use the authentication
cookies belonging to the first class.