Use string as a prefix, closes core/#4289
Merge pull request #44 from owncloud/fix-db-autotest-stable5

[stable5] Fix db autotest