Oh, yeah, I forgot about this thread. I assume BPM means Business Process Management. Do you happen to know the name of the suite? Can you tell us? It wouldn't happen to be Jira, would it?
Otherwise, how would one normally log in to the suite? With a web browser? Have you looked at
libcurl in that case?