When logging in, redirect back to the previous page. See #54