fixed the construction of the AuthenticationReq
Merge pull request #104 from gullerya/credentials_fix

fixed the construction of the AuthenticationReq