Assert that returning with a state and code creates a user.