Added a quick test of the authenticate method as there was a problem with static vs instanced calls.