start on check_reinstall_token
added auth_token functions
fix test type
parse check_reinstall_token answer
actually check for a valid reinstall token