Nextcloud account does not unmark "not signed in"

REPRODUCIBILITY: easy
OS VERSION: 4.5.0.25
HARDWARE: Xperia 10II
UI LANGUAGE: English
REGRESSION: Don’t know

DESCRIPTION:

TLDR - After an account is unreachable it is marked as “not signed in” even if it starts working again and it is not possible to somehow prompt the system to recheck.

Recently I had a certificate issue with my nextcloud server which caused SFOS to fail to connect, after resolving the issue my account remains marked “not signed in” and I can’t make settings changes etc.
When checking on my nextcloud install I see that the device password is still actively used and after rebooting my phone I even got a nextcloud notification about updates showing that I am actually connected.

PRECONDITIONS:

Nextcloud account

STEPS TO REPRODUCE:

  1. Cause an SSL certificate error on your nextcloud server (expired, wrong CN)
  2. Wait for the SFOS nextcloud plugin to prompt you to login again
  3. Fix the certificate error.

EXPECTED RESULT:

After the account is later able to connect again it should be marked as active again and settings made available, if this can’t be done automatically some way to prompt nextcloud to retry with the password it currently has should be available (issueing and entering a new device password is a pain in the patoot).

ACTUAL RESULT:

Account remains marked as “not signed in”

MODIFICATIONS:

none

ADDITIONAL INFORMATION:

none