Do not use 'default' user on raw cursors.

Fixes https://bugs.launchpad.net/oq-engine/+bug/1167776