Refactored redirect URL logic to private method.
Fixed failing success URL spec so randomized tests don't fail in unexpected ways.
Refactored loading of engine asset dependencies.
Fixed bug where success URL was being fetched when it should be optional.
Refactored logging methods and message output.