www-auth parsing implementation and test
tests should use the API from patchboard-api