Update username and password ui for new rules

tower: https://tower.im/projects/8f19f0bf0e754f0b82ef2c24bc230973/todos/7788ecf25d764f3ebd1613ad018fcad7/

Change-Id: I4d5109a389ec3b20517cdfd4bf62781d2b4b1218