Fix test case for the ToolProvider.username() change.