As Herwin's suggestion, I modified my regular expression and it worked. WP8.1 clients can now be successfully authorized. Thanks for you guys' help. Of course, adding unlang in authorization part is not good method as the accounting part don't use the same username that authorization part uses.