fixing persistence service utf8 problems and persistent failures. fixing authentication dialog.