@derick - really nice find! Thanks for testing all that. I was able to reproduce as well. I’ve filed a ticket to track this issue.
For those having data loss - we encourage you to install a valid TLS certificate. To read more on this see this forum post and the docs on the topic.
For those getting logged out, now that you have a valid TLS certificate, either build a branded version of the CHT Android app for your deployment, or use the unbranded app with a custom URL. Either solution will reliably keep you logged in until the progress web app (PWA) issue is resolved.