add unprivilegeduser via the Dockerfile

This changes the test TestBuildWithInaccessibleFilesInContext to not add the user 'unprivilegeduser' and add it via the Dockerfile instead.

Fixes #5912