Updating logic for final redirect to the original URL request to work similarly to the logic found in the Tomcat Form Authenticator. This update fixes IllegalStateException errors during the redirect, and also adds support for POST operations being the initial request to a protected resource.
Merge remote-tracking branch 'upstream/master'
[PLFED-392] - Changing the SP metadata support to consider the SingleLogoutService.
Merge pull request #163 from pedroigor/master

[PLFED-392] - Changing the SP metadata support to consider the SingleLogoutService.