Make source->username() always return a dbid (also for LocalSource)