Enable caching of username/password and fix incorrect parameter defintion