Saute the chopped onion and garlic in the olive oil in a large saucepan. Then add the beans and tomatoes and stir. Then add the cajun seasonings and okra and cook for 15 minutes. Then add the frozen corn and cook for another 15 minutes. Then add the last seasonings if desired. Serve over rice with hot sauce.