some changes to tests
don't show password if field is empty