Fix for language selection not working properly on the login page.