AuthorizationCodeFlow bugfix