Fixing empty db password not recognised