An elegant way to compose login credentials

 An elegant way to compose login credentials