Adding GenerateToken endpoint for Applications. GenerateToken is used for requesting web client username and password