Enable the use of 'optional' on password fields for mount configuration

The use of the 'optional' modifier (&) was limited to text fields only. These commits enable its use to other fields, currently only additionally defined for password fields (*). This means that passwords can now be considered optional in some cases, for example this could be used for iRODS 'Use ownCloud login', where the username and password are taken from logon credentials.