JC: added a if in authentify and removed the dependency on customer_authentify. spec passes.