Added extra logging to troubleshoot public API Client ID mismatch problem.