Implemented generic credential sequence validation.