test to not show password if field empty