Quantum interference of currents in an atomtronic SQUID