Given that $a, b \in \mathbb{R}^+$ and the equations $a^{\log b} = 2$ and $a^{\log a} b^{\log b} = 5$, find the value of $(ab)^{\log(ab)}$.

Let's think step by step and output the final answer within \boxed{}.
user