Update Password.php

Edit Password helper because recent change in yii2 security helper that removed and being converted into component 

note :  Fix #87: security helper converted into component and improved #4089