d/t/{startserver,upstream}: fix apparmor access to test directory
the apparmor profile doesn't grant access to /tmp/...,
which is used in the test as configuration directory.
to be compatible, add the test working directory to the apparmor profile temporarily.
fixes LP: #2130351