Cannot remove AFP share password once set

It was no longer possible to remove a share password once set. Editing a share with one set presents a blank field, and clicking OK does not remove it.

ticket: #2084