Using crypt instead of md5 in lib/login.php