bug #4701 :  The user self registration page is accessible whenever the functionality is off

Now, the self registration page isn't accessible and the corresponding mechanism is off when the auto-registration functionality isn't activated