Hello Tony, and everyone else who's contributed.
I found this post, while looking for an answer to the very same question.
All on the same page (showing and hiding with IF-statements of course).
My problem: The same as you Tony, the mysterious OK! turned into "Log in".
Here is what I discovered:
The <input> id="" is set as id="submit" on a few of those form in the Templates.
I changed the ID to "submit1", "submit2" etc on each template I used, and it seemed to fix the problem.
I tested this a few times over, but its not a comprehensive test, but I feel the ID's on the submit buttons are the issue. - Hope this helps you and others.