login_user() is not setting the current_user global correctly.