fixes #4057 loginForm macro problem showing error messages
Merge pull request #4083 from dotCMS/issue-4057-loginForm-macro-problem-showing-error-messages

fixes #4057 loginForm macro problem showing error messages