Tried moving auth === input to click clause