Fixing authentication error on badgemanager