Additional JWT Security Token Support

Updates to support for JWT based authentication (primarily around JWT decoding/decryption and claims checking)
Whitespace change, please resubmit once this is fixed, and squash the commits (so we do not end up nuking the file history with the two changes).