Gauge transformation through an accelerated frame of reference