Test that user is logged in after registration.