In case the userLang defined on browser is not of type "X-X" but of type "X" only, it used to lead to an infinite loop, making the login fail