Accept optional redirect location parameter.

Don't always redirect user to / after successful login. Optional parameter to specify URL to redirect to