Fix default focus for password prompt field

If there is no "login" field, focus to the "password" field.