Enclose WebAPI key in quotes when printing it in debug