Fix broken proxy authentication setup dialog

Taken from [this upstream commit](https://code.launchpad.net/~kelemeng/synaptic/bug1327956/+merge/223291).
Fixes https://bugs.launchpad.net/bugs/1327956.