How to save user login info in the webview?

In the app.

As mentioned here. Instagram has its own login screen and so it can save the cookies. Right?