Redirect the user back from AD form once done

Redirect the user back to the URL (s)he came from once they fill in the
AD form.

After completing the request, take the user back to the page they
originated from and flash the message. But if the user came back from
the feedback form message, still return them back but don't flash the
message.
Since `redirect_to_with_protocol` only works withe the current controller and not across controllers, it can't be used.