Read REDIRECT_TO parameter from GET and POST requests

If wrong password was entered we loose REDIRECT_TO parameter