Fix singleton initialization.

Fixes #115
Handle redirects in default url fetcher.