Fixed syntax error in SQLs updating (encoding) existing passwords