fix up naking authentication protocol