Created by: jonfreedman
Take the logic used to decide which instances to add to the authentications map and re-use to not import classes or offer non-functional util methods
@bbdouglas @sreeshas @jfiala @lukoyanov @cbornet @jeff9finger @karismann @Zomzog