Fix broken tests from changing user privileges