Fix Hash::make statement in check function

It throws following error by default : 
,"message":"password_hash(): Password must be a string",
"file":"\/share\/home\/hasanloo\/repo\/tanpad-web\/vendor\/ircmaxell\/password-compat\/lib\/password.php"

Change-Id: I0228edbd73417a6903afc84e4da9f34dabe6ef58