Update login.php

Changed password encryption. Removed prepared queries. Original code was not supported in PHP 5.0 which is what our server is running.