Additional JWT Security Token Support

Updates to support for JWT based authentication (primarily around JWT decoding/decryption and claims checking)
Line endings corrected