Prevent redirect loops in restrict_access middleware.

When current request url equals the one set in RESTRICT_ACCESS_REDIRECT_URL,
do not try to block the request.

This makes it possible to set up an 'Access Restricted' info page on
the same application that is being protected by the restrict_access middleware.