Handle json data when migrating role metadata.

Fixes bug 1206257

Change-Id: Ia522e023a2d66ec25bc909db12d358f7c0ee6952
Raise max header size to accommodate large tokens.

- Fixes bug: #1190149

Change-Id: Icdf56d65b9c5caa46571320f02233ac4a8a2e171
Merge "Handle json data when migrating role metadata."
Merge "Raise max header size to accommodate large tokens."