Create password_compat.php

Added password_compat library.