Reredirect back to first URL when user authenciated
Refactoring
Revert "Refactoring"

This reverts commit a42d261c2d1da62e5728201d3aede10c5fefbc1a.
Merge branch 'redirect_to_path_in_session'