Bug 834961: fixes for the private-browsing test addon