Refactored tests primarily. Uses dummy app now rather than calling workflow function directly. Full tests authentication flow from start to finish.