Problem comparing encrypted passwords solved