reverted username and password encoding back to before commit a13b5ef11ba2f6e884c9978a2b8564f03807c264 when in Darwin