Single Sign On support on the back end

Add support for Single Sign On via an implementation of the JSON Web
Token for OAuth 2.0 Client Authentication and Authorization Grant
specification [1].

[1] http://tools.ietf.org/html/draft-ietf-oauth-jwt-bearer-10