Add model & API to store monolith temporary stats.

See bug 839148 and bug 839150
Fix the OAuth test client to sign using the QS.

The test client wasn't using the additional data passed to sign the request,
which made some tests fail.