You can move the login process to `_real_initialize`, that way it's only done once, even if multiple urls are downloaded.