Fix intermittent issue in the manageuser test