Controlling ulka pump using relay
I finally found the cause.  

The hum was coming from the 3 way valve, which is also activated when the brew switch is flipped.
When I activated the hot wire of the pump and the hot wire of the 3 way valve using a relay, the pump worked as it should.