Run the webui commands only if the user is the DB owner and start the dbserver only when really needed
Run the webui commands only if the user is the DB owner
and start the dbserver only when really needed


Former-commit-id: 02ad3c017d44433b44420c4a5a24218350f440d9
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine