finish the web service authentication