reads the cookie file before creating the LWP::UserAgent object so it can die sooner on errors