Norwegian politician resigns after scandal