It's better to do some more work, before resorting to l'Hôpital's theorem
You're right in taking the logarithm, so you want to look at
$$
\lim_{x\to1^+}(x^2+2x-3)\log(\sqrt{x}-1)
$$
You can first note that $x^2+2x-3=(x-1)(x+3)$, so you can consider
$$
\lim_{x\to1^+}(x-1)\log(\sqrt{x}-1)
$$
and you will reinsert the factor $x+3$ later. For this limit, you can do the substitution $\sqrt{x}-1=t$, so $x=(t+1)^2$ and the limit becomes
$$
\lim_{t\to0^+}(t+2)t\log t
$$
Now
$$
\lim_{t\to0^+}t\log t=\lim_{t\to0^+}\frac{\log t}{1/t}
\overset{*}{=}
\lim_{t\to0^+}\frac{1/t}{-1/t^2}=
\lim_{t\to0^+}(-t)=0
$$
(application of l'Hôpital marked with $*$).
Therefore
$$
\lim_{x\to1^+}(x-1)\log(\sqrt{x}-1)=
\lim_{t\to0^+}(t+2)t\log t
=\lim_{t\to0^+}(t+2)\cdot \lim_{t\to0^+}t\log t=0
$$
and so
$$
\lim_{x\to1^+}(x^2+2x-3)\log(\sqrt{x}-1)
=
\lim_{x\to1^+}(x+3)\cdot\lim_{x\to1^+}(x-1)\log(\sqrt{x}-1)
=0
$$
Finally, your original limit is
$$
\lim_{x\to1^+}(\sqrt{x}-1)^{x^2+2x-3}=e^0=1
$$
You could do it directly with the above substitution:
$$
\lim_{x\to1^+}(\sqrt{x}-1)^{x^2+2x-3}=
\lim_{t\to0^+}t^{t(t+2)((t+1)^2+3)}=
\lim_{t\to0^+}(t^t)^{(t+2)((t+1)^2+3)}=1^8=1
$$
because $\lim_{t\to0^+}t^t=1$.