Pass credentials for the REST calls to handle session data not being retained