handle autocomplete values (i.e. passwordmanager, fixes #379)