Enabled unit-testing on Windows and fixed first build breakages
Strip trailing path separator
- Fixed FindMatchingFiles on Windows
Make credentials unit test pass