Hi Tanya,
As Catherine mentions, the problem is caused by your browser unhelpfully filling in your username and password. The only thing you can do is carefully delete the info before saving the form.
The fix was rather complicated, so is only available in Moodle 3.2 (MDL-53048).