#488 Refactored https required message returned in oauth2 resources