S-35483 Store credentials in a local file after successful authentication.