You can use both content-description and hint.
Resource id is also very useful in accessing elements which has been added since Android API Level 18.
It can be used as :
UiObject psswrd = new UiObject(new UiSelector().resourceId("com.example.abc:id/password"));
psswrd.click();
psswrd.setText("qwerty");