Storage login token

How do I save users’ credentials if local storage is reset at each update?

Implementing tizen.filesystem is not good because the data has persisted even deleting the app.