Redirect anonymous users to login page if they try to access restricted urls.