You could probably automate that with a couple of HTTP POST tasks, but
it might get really tricky with the authentication (not sure how
Java's (Apache's) http handler works, but I know with Curl you usually
have to save the resulting cookie to a file and then tell Curl to use
that file on subsequent requests). Outside of HTTP POST, it might be
do-able with some sort of browser plugin that will let you execute
your own javascript or something. Not really a Tasker thing at that
point.