consolidate all SWORD auth into a single method