test the password upgrade