Do not use 'default' user on raw cursors.

Fixes https://bugs.launchpad.net/oq-engine/+bug/1167776
Merge pull request #1125 from daniviga/fixes-1167776

Do not use 'default' user on raw cursors.
[r=matley,larsbutler] [f=1167776]