Password field is reset after adding connection

Fixes #29