GATEWAY-3359 / GATEWAY-3360: User creation privs and cleanup in the db s...

...cripts, deployment descriptor prefs for guava.