[#1376] added a null character to the end of the response for native authentication