Optimal Hypothesis Testing with a Vague Prior