remove old ui class from ui module

it now has a dedicated module. A little
trick to exclude it from tests, because this
horrible old code is not testable.
remove old ui class
add one more test for get_pass_conf