improve acceptance test for ResetAPIKey