Merge pull request #686 from bcipolli/initdevice_postgre

Getting initdevice working on PostGRE
setting broken settings
fixing cached password issues for @gimick
Merge remote-tracking branch 'leq/release-0.10' into db_1