Update application_controller to handle sending users back to their prior location when they sign in.  Fixes #453.