Fix RegisterUser test