Fix password not saved in RDP auth dialog, also fixes #247