Fix wrong authority construction.