support getting username and query parameters out of both the query
parameters and the posted entity