Make tilde expansion work on Windows

* use Home() to return users home on Windows as well
* only match strings starting with tilde
* fix tests on Windows
Looks different to our usual messages. Maybe better "no mapping between accound names and security id".