Remove dependency on 'os/user', which cannot be used with CGO_ENABLED=0. This allows running the tests without CGO.
Merge pull request #990 from dotcloud/fix-tests-cgo

* Hack: remove dependency of unit tests on 'os/user', which cannot be used with CGO_ENABLED=0