fixing password check

only do password old vs new check on edit info if there is an old
password entered