pub(crate) fn validate_account_action(action: &str) -> Result
Reject unsupported account management actions before authentication.
Unsupported actions return an invalid-parameter error.