Fixed the password change in database.php