Fix operator login bug