Grant/revoke application. Get applications collection by http params.