Prevent inactive users from logging in through registration page.

@wedaly and @rlucioni 

Sorry, I didn't realize that there was an existing hotfix in the works.