View to provide session information for clients.

GET /validate?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "username": "",
    "capabilities": {
        "canAdmin": false
    }
}