add redirect after sign in to previous url

\cc @bartzitz