Fix user login so that for non-central nodes, there is a detection of whether or not a uid exists locally.