allow oo-analytics-import to accept user credentials

Reworked oo-analytics-import a little bit. Now, it can accept passed credentials, and also uses mktemp for its work.