Initialize qgis.db in server. Fixes ticket #8172
Merge branch 'server_user_db'