Update Password.php

Because latest change in yii2 security helper that now removed and converted into component.