After login: Redirect to the page before login form

I follow your approach and the hidden input tag has no value at all.