Fix chat and user presence application initializations.