OP-338 Tidying up auto login logic for readability
Fix for broken page types i18n file detection due to file case sensitivity