Fix loading of URLs when the user agent changes. https://redmine.stoutner.com/issues/160