Use user util to log out in register test