Store an email and password so the session renews itself and never asks for a browser login.
Bitrix account (optional)
Create or Join opens the Bitrix login, you pick your portal there and the app captures the cookies. Optionally store portal, email and password here so the session renews itself without a browser login.