Show jdbc password via status only in dev mode

Hi,

This pull request just check the current app mode and hide the DB password according to it.
I wrote it for obvious security reasons.