This fixes #1348.

Disables the registration form when REGISTRATION_OPEN = False