simple authenticate for longpoll request