Implements #2811, Login status after enabled cache sources



Not yet fully dynamic, only two possible source. Generalization to remove the explicit reference to Login and access through the connector can be the next step.