removed comments / spaces
changed verification function

Before, the function being called was checking to see if the old
password entered was equal to the hashed password, which always resulted
in false.

New function uses the default Joomla authentication check to determine
whether the credentials supplied match database's.