User route services breaks on logout

Description

The service prefix of the user settings service is determined by what user is logged in and changes whenever the user changes.

However when the use logs out the subscription tries to create a new service prefix with a user that doesn't exist (because nobody is logged in). This causes the subscription to break and it no longer updates the current user value.

This issue caused the objects by type list to break every time a user logs in after previously logging out.

Environment

None
Done

Assignee

Dorus Blanken

Reporter

Dorus Blanken

Labels

None

Tester

None

Sprint

None

Fix versions

Priority

Medium