Fixed few UI tests

- Fixed all activation-key tests
- Fixed `test_remove_user_1` from `test_org` module by blocking the utf8 data with bz id
- Fixed `test_remove_medium_1` from `test_org` module
- Replaced orm.String.. with gen_string in test_repository module.

Referencing it with PR #1451