added 302 status code in user login API when _target_path param is given