Bug/switching provider doesn't reflect logout on the ui #6552