Implemented Password Toggle for Database Password.

A fix for https://github.com/owncloud/core/issues/2428
Please check @georgehrke @jancborchardt