cuke refactoring for omniauth