fixed persistence auth