Add keepalive
Add ram_file true for auth dets cache