support legacy password