Update auth handlers in unittest