Login and pre-fill the registration form