I think I have narrowed it down to the template_redirect function in theme-my-login\modules\themed-profiles\themed-profiles.php, and I removed the if logic in the case ‘profile’ statement. It looks like is_user_logged_in() is not returning true, even though I already logged in.