login page and locales fixes (refs: #400)