[core] passcode contents are displayed correctly

Includes some other small fixes regarding passcodes.

Fixes #883
remove old code from obsolete nickname resolving