SERVER-9233 fix sporadic smokeAuth buildbot failures

jstests/auth/commands.js sometimes fails on buildbot, presumably because a command runs before an insert can complete. This patch adds calls to getLastError() to try to avoid this scenario.