Fix User::idFromName() ignoring cache for non-existent users.