Update Pdo.php

Updated the checkPassword to use check_password() instead of sha1.