BUG: refs #1015. Don't use core authentication if module auth enabled
BUG: refs #1015. Don't use core authentication if module auth enabled

This was breaking login process when trying to upgrade pre-3.2.12
instances that had LDAP login enabled.

jcfr/Midas,jcfr/Midas,jcfr/Midas,jcfr/Midas,jcfr/Midas,jcfr/Midas