we don't know \OCA\Encryption\Session if the encryption app is not enabled, so we have to set the status manually
fix hidden fieled name