changed auth scope, simplecta url, and response code handling