Fix authorization uri escaping