Integrate RSA encryption of password when getting token

Add support for getting ArcGIS Server public key and encrypt password
using RSA during token generation.