Make google drive client secret and dropbox api secret a password field

Fix issue #5794

Backport of 828985d