1. You should not change interface to resources
2. You do not pass auth credentials to the resource. Auth credentials already has in /etc/quantum/quantum.conf and must used from here.