redirect to last URL after direct omniauth login
only append origin if back_url is given
Merge pull request #1662 from opf/fix/back_url_with_direct_login

redirect to last URL after direct omniauth login