frontend upload return async-ajax.php 302

If you are using custom front-end registration through wp_signon function, check, if the second parameter, passed to that function is true:

$user_signon = wp_signon( $info, true ); ).

The second parameter tells WordPress to set the secure cookie for login. It works fine with SSL.