set authenticated flag in demo provider
housekeeping