Behaviour for Password middleware policies.
Password
validate(input :: String.t(), config :: list()) :: :ok | {:error, module()}