Move authentication test helpers into spec/support