-spa_build_auth_response (&challenge, &response, CS username, CS password);
-spa_bits_to_base64 (US msgbuf, (unsigned char*)&response,
- spa_request_length(&response));
+spa_build_auth_response(&challenge, &response, username, password);
+spa_bits_to_base64(US msgbuf, US &response, spa_request_length(&response));