Send the user to the login page if registering with a linked but inactive account

Replaces #6335

Please review: @stephensanchez @rlucioni 
FYI: @e0d