Decorating `hostname` on Tenso instance, removed unwanted function, refactored tests to use multiple servers, added tests for authentications

Updating sample