pass user object to wp_login hook as it expects