Fix string class design.
Add unit test case for authentifier.