tst_QOAuthHttpServerReplyHandler: build with QT_NO_CAST_FROM_BYTEARRAY
Make the conversion explicit.
As a drive-by, in callback(), perform the concatenation only once and
use a loop to indicate that, indeed, we're executing the exact same
line twice (this reader was frantically looking for a difference...).
Amends fd49b7f6543e7b49be7847624c64ee86c4272ccd (picked to 6.7).
Task-number: QTBUG-145250
Pick-to: 6.11 6.10 6.8
Change-Id: I7d3d97d4851650811c513c5be9a72cee238e46c4
Reviewed-by: Jesus Fernandez <jsfdez@gmail.com>