Use a query parameter to pass referer (reuse the code of this PR https://github.com/jaliss/securesocial/pull/234 ) +
remove all calls to RoutesHelper.login because it did not work