Iframe with streams from motioneye, randomly needs login, how to get it to remember user/password?

Hi guys.

I have successfully added my unifi surveillance cameras to motioneye via rtsp urls, and after taken the embed stream from motioneye and placed the urls in iframes at lovelace frontend, it works very well.

But I have some issues with it :frowning: from day to day, it will have me to renew the login in motioneye to let me see the streams in the iframe.

How can I avoid it?

Can I write some code in lovelace so it will remember the login or are there another workaround?

Best Regards