Track previous url when we redirect to sign-in page and unset it once we redirect back. Fixes #13