WFLY-3696, allow empty login-module-stack and avoid NullPointerException
Merge pull request #6553 from soul2zimate/WFLY-3696

WFLY-3696, allow empty login-module-stack and avoid NullPointerException