rework account home to support globbing patterns

rework and fix behavior of c567b1012b80cbd23d2aeeb7b71e018ac99b948f

- now supports `.` (dot) or `~` (tilde) as a current account in Swift URLs
- now the expansion happens earlier and the globbing patterns work with it, i.e. `swift://~/c/obj*` will be correctly handled