FIX permissions dialog, subtle bug wouldn't add new subjects
Improving autocomplete in permissions dialog

  so we can use the headless browser for testing

finised input permissions refactoring
Fixes and adjustments in feature test for permissions

wip adjusting permissions feature tests

wip fixed tests