network: fix password box popup issue

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/c0d9158bdbb04f08a355e7e1ccfd4dce/
Change-Id: I23cf5b8897e754e9255c9381e54653538880aac8