fixed issue with basic token request not throwing OAuthException