Supporting LastPass and other password managers

Currently when trying to use a password manager such as LastPass with my ionic app login interface, it is using “localhost” as the domain for remembering my credentials for the app - which makes sense, since the webview is serving the site from localhost. However, since the password manager uses the domain to suggest the propert credentials, instead of suggesting just the credentials for my app I am seeing tons of credentials which are all associated with localhost.

Is there any way to improve this experience so that the LastPass will recognize the app, rather than the URL?

Also - after signing in the first time, LastPass (on Android) does not offer to remember the credentials. Is there a way to enable this so that LastPass will offer this, like it does on other mobile apps?