Test the Credentials.getForHost() method
Unit tests for host module