Fix and complete the authorization parameters validation flow