[srv & ui] Auth bug fixed.