Testing this on a local system will not work unless you have installed and configured an SMTP server for sending the verification email.
You should be testing on the remote server.
only after clicking the link in the verification email will you be able to access the restricted page.
the error in the last screen shot means that the restricted page is a redirecting to a page that also has access restriction on it.
make sure that the access restriction behavior on the restricted page is set to redirect to a page that does not have restriction applied to it.