Save authentication and locale status to cookie and respect settings on startup