fixed bug where String was being compared to AuthToken. Todo: == => ===