fix getAuthUri()