Partner Credentials

Changes here are to support authenticating with Xero using partner credentials.