fixes responseType and grantType bugs so they can be explicitly set in constructor and add methods