fixes #2657
Merge pull request #2667 from dotCMS/issue-2657-setting-auth.simultaneous.logins.false-fails

fixes #2657