[autotests/server] Check whether test is run as root
If the test is run as root we cannot compare the user id to not be 0. Thus let's check for that and expect fail.