Add webclient.getRoles(), env.SERVER override for tests