JavaScript library for passive ADFS Authentication