test fixes for dynamic masquerades #getlantern/lantern#1762